package com.sc.study.student.domain;

import com.sc.study.clazz.domain.ScClazz;
import com.sc.study.sleeproom.domain.ScSleepRoom;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sc.common.annotation.Excel;
import com.sc.common.core.domain.BaseEntity;

/**
 * 学员对象 sc_student
 * 
 * @author sc
 * @date 2022-02-27
 */
public class ScStudent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String stuname;

    /** 编码 */
    @Excel(name = "编码")
    private String stucode;

    /** 学员班级编号 */
    @Excel(name = "学员班级编号")
    private Long studentclazzid;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String stuphone;

    /** 家庭住址 */
    @Excel(name = "家庭住址")
    private String stuaddress;

    /** 毕业学校 */
    @Excel(name = "毕业学校")
    private String stugraduatefrom;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long stuage;

    /** 升高 */
    @Excel(name = "升高")
    private Long stuheight;

    /** 体重 */
    @Excel(name = "体重")
    private Long stuweight;

    /** 性别 */
    @Excel(name = "性别")
    private String stusex;

    /** 班级 */
    private ScClazz scClazz;

    /** 班级编号 */
    private Integer clazzId;

    /** 密码 */
    @Excel(name = "密码")
    private Integer password;

    //考试开考时间
    private String startTime;

    //考试结束时间
    private String endTime;

    //考试编号
    private Integer testExamId;

    //模糊查询 班级
    private String likeClazzName;

    //所属寝室
    private ScSleepRoom scSleepRoom;

    //学生分数
    private Integer score;

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Integer getClazzId() {
        return clazzId;
    }

    public void setClazzId(Integer clazzId) {
        this.clazzId = clazzId;
    }

    public ScSleepRoom getScSleepRoom() {
        return scSleepRoom;
    }

    public void setScSleepRoom(ScSleepRoom scSleepRoom) {
        this.scSleepRoom = scSleepRoom;
    }

    public Integer getTestExamId() {
        return testExamId;
    }

    public void setTestExamId(Integer testExamId) {
        this.testExamId = testExamId;
    }

    public String getLikeClazzName() {
        return likeClazzName;
    }

    public void setLikeClazzName(String likeClazzName) {
        this.likeClazzName = likeClazzName;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public ScClazz getScClazz() {
        return scClazz;
    }

    public void setScClazz(ScClazz scClazz) {
        this.scClazz = scClazz;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStuname(String stuname) 
    {
        this.stuname = stuname;
    }

    public String getStuname() 
    {
        return stuname;
    }
    public void setStucode(String stucode) 
    {
        this.stucode = stucode;
    }

    public String getStucode() 
    {
        return stucode;
    }
    public void setStudentclazzid(Long studentclazzid) 
    {
        this.studentclazzid = studentclazzid;
    }

    public Long getStudentclazzid() 
    {
        return studentclazzid;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }
    public void setStuphone(String stuphone) 
    {
        this.stuphone = stuphone;
    }

    public String getStuphone() 
    {
        return stuphone;
    }
    public void setStuaddress(String stuaddress) 
    {
        this.stuaddress = stuaddress;
    }

    public String getStuaddress() 
    {
        return stuaddress;
    }
    public void setStugraduatefrom(String stugraduatefrom) 
    {
        this.stugraduatefrom = stugraduatefrom;
    }

    public String getStugraduatefrom() 
    {
        return stugraduatefrom;
    }
    public void setStuage(Long stuage) 
    {
        this.stuage = stuage;
    }

    public Long getStuage() 
    {
        return stuage;
    }
    public void setStuheight(Long stuheight) 
    {
        this.stuheight = stuheight;
    }

    public Long getStuheight() 
    {
        return stuheight;
    }
    public void setStuweight(Long stuweight) 
    {
        this.stuweight = stuweight;
    }

    public Long getStuweight() 
    {
        return stuweight;
    }
    public void setStusex(String stusex) 
    {
        this.stusex = stusex;
    }

    public String getStusex() 
    {
        return stusex;
    }

    public Integer getPassword() {
        return password;
    }

    public void setPassword(Integer password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stuname", getStuname())
            .append("stucode", getStucode())
            .append("studentclazzid", getStudentclazzid())
            .append("state", getState())
            .append("stuphone", getStuphone())
            .append("stuaddress", getStuaddress())
            .append("stugraduatefrom", getStugraduatefrom())
            .append("stuage", getStuage())
            .append("stuheight", getStuheight())
            .append("stuweight", getStuweight())
            .append("stusex", getStusex())
            .toString();
    }
}
